package com.tempjob.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("公共dto")
public class PageSearchDTO extends BaseRequest {

    @ApiModelProperty(value = "每页显示条数")
    private int size = 10;

    @ApiModelProperty(value = "页码")
    private int page = 1;

    @ApiModelProperty(value = "排序字段")
    private String order;

    @ApiModelProperty(value = "升序/降序 asc/desc")
    private String sort;

}
